package com.pojo;

/**
 * 订单实体类
 */
public class Order {
    private Integer o_num;

    private String o_id;

    private String p_id;
    private String p_name;

    private Integer c_id;
    private String c_name;

    private Integer o_money;

    private String o_remarks;

    private Integer o_state;
    
    
    public Order() {
    }
    
    public Order(String o_id) {
        this.o_id = o_id;
    }
    
    public String getP_name() {
        return p_name;
    }
    
    public void setP_name(String p_name) {
        this.p_name = p_name;
    }
    
    public String getC_name() {
        return c_name;
    }
    
    public void setC_name(String c_name) {
        this.c_name = c_name;
    }
    
    public Integer getO_num() {
        return o_num;
    }

    public void setO_num(Integer o_num) {
        this.o_num = o_num;
    }

    public String getO_id() {
        return o_id;
    }

    public void setO_id(String o_id) {
        this.o_id = o_id == null ? null : o_id.trim();
    }

    public String getP_id() {
        return p_id;
    }

    public void setP_id(String p_id) {
        this.p_id = p_id == null ? null : p_id.trim();
    }

    public Integer getC_id() {
        return c_id;
    }

    public void setC_id(Integer c_id) {
        this.c_id = c_id;
    }

    public Integer getO_money() {
        return o_money;
    }

    public void setO_money(Integer o_money) {
        this.o_money = o_money;
    }

    public String getO_remarks() {
        return o_remarks;
    }

    public void setO_remarks(String o_remarks) {
        this.o_remarks = o_remarks == null ? null : o_remarks.trim();
    }

    public Integer getO_state() {
        return o_state;
    }

    public void setO_state(Integer o_state) {
        this.o_state = o_state;
    }
    
    @Override
    public String toString() {
        return "Order{" +
                "o_num=" + o_num +
                ", o_id='" + o_id + '\'' +
                ", p_id='" + p_id + '\'' +
                ", p_name='" + p_name + '\'' +
                ", c_id=" + c_id +
                ", c_name='" + c_name + '\'' +
                ", o_money=" + o_money +
                ", o_remarks='" + o_remarks + '\'' +
                ", o_state=" + o_state +
                '}';
    }
}